package com.cskaoyan.bean.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 该类用于接收 /admin/storage/update客户端对象;
 * @author: 陈慧颖
 * @time: Created by chy on 2022/6/6 21:36
 */

@Data
public class StorageUpdateBo {

    private Integer id;
    private String key;
    private String name;
    private String type;
    private Integer size;
    private String url;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Boolean deleted;
}
